<!-- base-echart -->
<template>
  <div ref="chart"></div>
</template>

<script lang='ts' setup>
  import { nextTick, onMounted, ref, Ref } from 'vue'
  import * as echarts from 'echarts'

  const chart = ref()

  const props =  defineProps()

  const renderChart = () => {
    echarts.dispose(chart.value)
    const eChart = echarts.init(chart.value)
  }

  onMounted(() => {
    nextTick(() => {

    })
  })

</script>
<style lang="scss" scoped></style>
